package com.example.perplonews.a_b_entity

import com.example.perplonews.a_b_entity.greendao.UserEntity
import com.google.gson.Gson

class LoginEntity :BaseEntity(){
    var values: String? = null

    fun getValues(): UserEntity? {
        return if (values!!.isEmpty()) null else Gson().fromJson(values, UserEntity::class.java)
    }
}